<?php
require_once(SRC_PATH."Object/Hostname.php");
class Url{
	
	private $id;
	private $location;
	private $hostname;
	private $lastAccess;
	
	public function __construct(	$id = NULL, 
													$location = NULL, 
													$hostname = NULL, 
													$lastAccess = NULL){
		$this->id = $id;
		$this->location = $location;
		$this->hostname = $hostname;
		$this->lastAccess = $lastAccess;														
	}
	
	public function getId() {
		return $this->id;
	}

	public function getLocation() {
		return $this->location;
	}

	public function getHostname() {
		return $this->hostname;
	}

	public function getLastAccess() {
		return $this->lastAccess;
	}

	public function setId($id) {
		$this->id = $id;
	}

	public function setLocation($location) {
		$this->location = $location;
	}

	public function setHostname($hostname) {
		$this->hostname = $hostname;
	}

	public function setLastAccess($lastAccess) {
		$this->lastAccess = $lastAccess;
	}
}
?>